﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Reporting.WebForms;
using STT.Business;
using STT.Entities;
using STT.Layer.Connection;
using System.Data;

namespace STT.Report
{
    public partial class PhieuThu : System.Web.UI.Page
    {
       
        //protected void Page_Load(object sender, EventArgs e)
        //{

           
        //}
        protected void lbIn_Click(object sender, EventArgs e)
        {
        //    string Ma_HV = Session["Ma_HV"].ToString();
        //    DataTable dt = BTbHocVien.SelectByMaHV(new
        //    ETbHocVien
        //    {
        //        MaHV = Ma_HV
        //    });
        //    DataTable dt1 = BTbDangNhap.SelectByIDMaHV(new
        //ETbDangNhap
        //    {
        //        TenDangNhap = Ma_HV
        //    });
        //    rpvPhieuThu.Visible = true;
        //    rpvPhieuThu.LocalReport.ReportPath = "RDLC\\PhieuThu.rdlc";
        //    rpvPhieuThu.LocalReport.DataSources.Clear();
        //    rpvPhieuThu.LocalReport.DataSources.Add(new ReportDataSource("DataSet2", dt));
        //    rpvPhieuThu.LocalReport.DataSources.Clear();
        //    rpvPhieuThu.LocalReport.DataSources.Add(new ReportDataSource("DataSet1", dt1));


        }

    }
}